package com.hdsx.restful.dtfw.rest;

import javax.annotation.Resource;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;

import org.springframework.stereotype.Service;

import com.hdsx.restful.dtfw.bean.Servicefw;
import com.hdsx.restful.dtfw.service.ServiceServer;


@Path("/service")
@Service
public class ServiceRestServer {

	/** The fwq server. */
	@Resource(name = "serviceServerImpl")
	private ServiceServer serviceServer;

	@GET
	@Path("/queryRuriByServiceId")
	@Produces(MediaType.APPLICATION_JSON)
	public Servicefw queryRuriByServiceId(@QueryParam("serviceId") String serviceId){
		
		return serviceServer.queryRuriByServiceId(serviceId);
	}
	
	
}
